package com.atstudy.service;

import org.junit.Test;
import org.junit.runner.RunWith;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.test.context.ContextConfiguration;
import org.springframework.test.context.junit4.SpringJUnit4ClassRunner;

import static org.junit.Assert.*;

@RunWith(SpringJUnit4ClassRunner.class)
@ContextConfiguration(locations = {"/spring-mybatis.xml"})
public class AccountServiceImplTest {

    @Autowired
    private AccountService accountService;

    @Test
    public void getAccountList() {
        System.out.println(accountService.getAccountList());
    }
}